<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <title>Hello React!</title>
    </head>
    <body>
        <div id="example"></div>

        <!-- Dependencies 手动添加依赖，这样就可以在webpack的编译配去掉externals的react和react-dom插件编译 -->
        <script src="./node_modules/react/umd/react.development.js"></script>
        <script src="./node_modules/react-dom/umd/react-dom.development.js"></script>
        <!-- cdn依赖 最小版本，参考https://reactjs.org/docs/cdn-links.html -->
        <!-- <script crossorigin src="https://unpkg.com/react@16/umd/react.production.min.js"></script>
        <script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js"></script> -->


        <!-- Main -->
        <script src="./dist/main.js"></script>
    </body>
</html>